<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  

  
  <title>需要了解 | 雁过留声</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="jvm内存模型https:&#x2F;&#x2F;www.jianshu.com&#x2F;p&#x2F;76959115d486 程序计数器运行时方法区堆 ThreadLocal原理https:&#x2F;&#x2F;www.cnblogs.com&#x2F;luxiaoxun&#x2F;p&#x2F;8744826.htmlthreadLocalMap用了开放地址法来解决hash冲突hashmap使用链表法 ThreadLocal作用SimpleDataFormater 线程不安全">
<meta property="og:type" content="article">
<meta property="og:title" content="需要了解">
<meta property="og:url" content="http://yanglf007.gitee.io/blog/2020/07/31/%E9%9C%80%E8%A6%81%E4%BA%86%E8%A7%A3/index.html">
<meta property="og:site_name" content="雁过留声">
<meta property="og:description" content="jvm内存模型https:&#x2F;&#x2F;www.jianshu.com&#x2F;p&#x2F;76959115d486 程序计数器运行时方法区堆 ThreadLocal原理https:&#x2F;&#x2F;www.cnblogs.com&#x2F;luxiaoxun&#x2F;p&#x2F;8744826.htmlthreadLocalMap用了开放地址法来解决hash冲突hashmap使用链表法 ThreadLocal作用SimpleDataFormater 线程不安全">
<meta property="og:locale" content="en_US">
<meta property="article:published_time" content="2020-07-30T17:22:56.761Z">
<meta property="article:modified_time" content="2020-08-12T13:59:35.645Z">
<meta property="article:author" content="yanglf007">
<meta name="twitter:card" content="summary">
  
    <link rel="alternate" href="/blog/atom.xml" title="雁过留声" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  
<link rel="stylesheet" href="/blog/css/style.css">

<meta name="generator" content="Hexo 4.2.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/blog/" id="logo">雁过留声</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/blog/">Home</a>
        
          <a class="main-nav-link" href="/blog/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/blog/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://yanglf007.gitee.io/blog"></form>
      </div>
    </div>
  </div>
</header>
      <div class="outer">
        <section id="main"><article id="post-需要了解" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/blog/2020/07/31/%E9%9C%80%E8%A6%81%E4%BA%86%E8%A7%A3/" class="article-date">
  <time datetime="2020-07-30T17:22:56.761Z" itemprop="datePublished">2020-07-31</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="article-title" itemprop="name">
      需要了解
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>jvm内存模型<br><a href="https://www.jianshu.com/p/76959115d486" target="_blank" rel="noopener">https://www.jianshu.com/p/76959115d486</a></p>
<p>程序计数器<br>运行时方法区<br>堆</p>
<p>ThreadLocal原理<br><a href="https://www.cnblogs.com/luxiaoxun/p/8744826.html" target="_blank" rel="noopener">https://www.cnblogs.com/luxiaoxun/p/8744826.html</a><br>threadLocalMap用了开放地址法来解决hash冲突<br>hashmap使用链表法</p>
<p>ThreadLocal作用<br>SimpleDataFormater 线程不安全</p>
<p>ThreadLocal创建一个本地线程的SimpleDataFormater</p>
<p>simpleDataFormat为什么线程不安全<br>线程之间共享了Calendar</p>
<p>如何中断一个线程<br>interrupt方法本质上不会进行线程的终止操作的，它不过是改变了线程的中断状态。而改变了此状态带来的影响是，部分可中断阻塞线程方法（比如Object.wait, Thread.sleep，Thread.join）会定期执行isInterrupted方法，检测到此变化，随后会停止阻塞并抛出InterruptedException异常。</p>
<p>一文理解为什么InnoDB选择B+树做索引<br><a href="https://blog.csdn.net/songguangfan/article/details/102475002" target="_blank" rel="noopener">https://blog.csdn.net/songguangfan/article/details/102475002</a></p>
<p>io模型</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://yanglf007.gitee.io/blog/2020/07/31/%E9%9C%80%E8%A6%81%E4%BA%86%E8%A7%A3/" data-id="ckgtnonnc000xm8ul236z4ern" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/blog/2020/08/01/%E9%9D%A2%E8%AF%95%E5%85%A8%E9%9B%86/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Newer</strong>
      <div class="article-nav-title">
        
          面试全集
        
      </div>
    </a>
  
  
    <a href="/blog/2020/07/28/java%E5%9F%BA%E7%A1%80/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Older</strong>
      <div class="article-nav-title">java基础</div>
    </a>
  
</nav>

  
</article>

</section>
        
          <aside id="sidebar">
  
    

  
    

  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/blog/archives/2020/10/">October 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog/archives/2020/08/">August 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog/archives/2020/07/">July 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog/archives/2020/06/">June 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog/archives/2020/05/">May 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog/archives/2020/04/">April 2020</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/blog/2020/10/25/%E6%AF%8F%E6%97%A5%E5%AD%A6%E4%B9%A0/">每日学习</a>
          </li>
        
          <li>
            <a href="/blog/2020/10/12/mybatis-plus/">mybatis-plus</a>
          </li>
        
          <li>
            <a href="/blog/2020/08/30/%E7%A7%92%E6%9D%80%E7%B3%BB%E7%BB%9F/">秒杀系统</a>
          </li>
        
          <li>
            <a href="/blog/2020/08/29/elasticsearch%E7%9F%A5%E8%AF%86/">elasticsearch知识</a>
          </li>
        
          <li>
            <a href="/blog/2020/08/28/redis%E9%9D%A2%E8%AF%95/">redis面试</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2020 yanglf007<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/blog/" class="mobile-nav-link">Home</a>
  
    <a href="/blog/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>


  
<link rel="stylesheet" href="/blog/fancybox/jquery.fancybox.css">

  
<script src="/blog/fancybox/jquery.fancybox.pack.js"></script>




<script src="/blog/js/script.js"></script>




  </div>
</body>
</html>